package com.gj.costprice.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * Created by Hasee on 2021-06-24.
 */
@Data
public class CostPriceVo  {

    private Integer id;
    private String legalPersonCode;          //法人编码
    private String legalPersonName;          //法人名称

    private String legalPlantCode;           //工厂编码

    private String materialCode;             //备件编码
    private String materialName;             //备件名称

    private Integer taxType;                  //含税类型
    private String taxDec;                   //含税类型名称

    private Integer priceType;                 //价格分类
    private String priceTypeName;             //价格分类名称

    private Integer currencyCode;              //币别
    private String currencyCodeName;          //币别名称

    private String materialUnit;             //计量单位
    private Double price;                     //价格

    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss",timezone = "GMT+8")
    private String startTime;           //有效开始时间
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss",timezone = "GMT+8")
    private String endTime;            //有效结束时间
    private String creatorName;            //创建人
    private String updateName;
    private Date createTime;
    private Date updateTime;
    private Integer status;                //当前状态
    private String remark;                 //备注
    private String statusName;             //状态名
}
